
#include <stdio.h>
#include <string.h>
int is_palindrome_string(char arr[])
{
	int n = strlen(arr);
	char* left = arr;
	char* right = arr + n - 1;
	while (left < right)
	{
		if (*left != *right)
			return 0;
		left++;
		right--;
	}
	return 1;
}
int main()
{
	char arr[31];
	scanf("%[^\n]s", arr);
	int ret = is_palindrome_string(arr);
	if (ret == 1)
		printf("Yes\n");
	else
		printf("No\n");
	return 0;
}